package com.kcwl.carrier.infrastructure.enums;

/**
 *
 */
public enum CarrierUseErrorCodeEnum {

    // 司机相关错误码
    PASSWORD_FORMAT_ERROR("501", "密码必须是8-12位数字、大小写字母、特殊字符组合"),
    PASSWORD_FORMAT_ERROR_LIMIT("502", "密码必须是8-12位数字、大小写字母、特殊字符组合"),
    CARRIER_IS_LOCK("503", "账号已被锁定"),
    AUTH_IS_NOT_EXISTS("504", "未查询到认证信息"),
    IDENTITY_TYPE_ERROR("505", "身份类型不匹配"),
    CARRIER_STATUS_COMMITTED("506", "认证信息已提交"),
    CARRIER_STATUS_PASS("507", "认证信息已审核通过"),
    CARRIER_IS_NOT_EXISTS("508", "未查询到司机信息"),
    USER_IS_NOT_EXISTS("509", "未查询到用户信息"),
    CARRIER_UPDATE_FAIL("510", "司机信息更新失败"),
    ALREADY_AUTH("511", "用户已认证,不可修改身份证姓名"),
    COMPANY_NOT_EXISTS("512", "未查询到公司信息"),
    COOPERATE_NOT_EXISTS("513", "未查询到辅助人信息"),
    VEHICLE_ILLEGAL_FAIL("520", "此车已被平台纳入不合规名单"),
    REPEATED_APPLY("521", "已经申请认证"),
    VEHICLE_NUM_LIMIT("522", "绑定的车辆数已达最高限制"),
    VEHICLEINFO_NOT_PATCH("523", "录入信息有误，请重点核对您录入的车牌号长度、能源类型、车牌颜色和净重信息是否匹配"),
    PLATENUMBER_NOT_NULL("524", "请填写正确的车牌长度"),
    PLATENUMBER_FORMAT_ERROR("525", "车牌号格式不正确"),
    TRAILERINFO_NOT_NULL("526", "请输入必传的挂车信息"),
    VEHICLE_TYPE_NOT_PATCH("527", "司机准驾车型跟车辆不符"),
    TRAILER_REPEATED_ADD("528", "已经添加过此挂车"),
    TRAILER_REPEATED_RELATION("529", "该挂车您已认证，请更换其他挂车或删除已添加挂车"),
    CARRIER_NOT_LOGIN("530", "司机未登录"),
    VEHICLE_NOT_YOU("531", "不是你的车辆"),
    DRIVER_BINDED_VIHICLE("532", "司机已与本车辆绑定"),
    VEHICLE_REPEATED_ADD("533", "您已添加同车牌号车辆，禁止重复添加"),
    VEHICLE_NOT_EXIST("534", "车辆不存在"),
    VEHICLE_DRIVER_NOT_BIND("535", "司机与车辆没有关联关系"),
    VEHICLE_SET_COLLECT("536", "该车辆已被设置代收车辆，删除前请先解除代收人"),
    VEHICLE_BIND_VALIDORDER("537", "车辆关联有效订单"),
    DATA_NOT_EXIST("538", "未查询到数据"),
    TRANSPORT_NOT_STOP("539", "运输中，无法暂停接单"),
    TRANSPORT_NOT_UNBIND("540", "运输中，无法解绑运力"),
    CARRIER_LOCKED("541", "司机已被冻结"),
    CARRIER_UNLOCKED("542", "司机已被解锁"),
    CARRIER_DELETED("543", "司机已被删除"),
    VEHICLE_NOT_PATCH("544", "车辆不符合条件"),
    VEHICLE_NOT_ADD_TRAILER("545", "重型半挂车没有添加半挂车"),
    TRANSPORT_EXPIRED("546", "道路运输证已过期"),
    CAN_NOT_CHANGE_CARRIER_BOSS("547", "不满足变更成为车队长的条件"),
    CAN_NOT_CHANGE_DRIVER("548", "不满足变更成为司机的条件"),
    ILLEGAL_IDENTITY("549", "非法身份类型"),
    TRAILER_NOT_ALLOWED_DELETE("550", "当前挂车状态不允许删除"),
    CARRIER_NOT_PASS("551", "司机未认证通过,不能修改"),
    CARRIER_NOT_OWNER("552", "请上传本人驾驶证"),
    TRAILER_LIST_ERROR("553", "挂车列表数据加工失败"),
    HISTORY_REMARK_ERROR("554", "序列化历史备注失败,请确认"),
    ROADTRANSPORT_NOT_NULL("555", "道路运输证信息不允许为空"),
    QUALIFICATION_AUDIT_ERROR_2("556", "驾驶证信息不存在"),
    QUALIFICATION_AUDIT_ERROR_3("557", "道路运输证信息不存在"),
    AUDITED("558", "信息已被审核"),
    DELETED("559", "数据已被删除"),
    UPDATE_DRIVING_LICENSE_DATE_FAIL("560", "修正行驶证日期失败"),
    AUDIT_OVER_LENGTH("561", "驳回原因太长，请慎重审核"),
    CARRIER_AUTH_NOT_APPROVE("562", "司机未通过认证"),
    NOT_FOUND_CARRIER_DRIVER("563", "司机未通过认证"),
    ALREADY_BIND_VEHICLE("564", "请先取消绑定再操作删除"),
    ALREADY_PASS_AUTH("565", "已认证通过，取消认证失败"),
    EXISTS_ALREADY_BIND_DRIVER("567", "存在已收纳司机,请勿重复收纳"),
    ILLEGAL_PARAMS("568", "请填写完整"),
    ILLEGAL_AUTH_STATUS("569", "当前司机信息未完成注册审核,请稍后进行收纳"),
    NO_REGISTER("570", "该司机未注册,请通过添加司机完成收纳"),
    PERIODSTARTDATE_NOT_NULL("571", "道路运输证发证时间不能为空"),
    CHIEF_NOT_INVITED_DRIVER("572", "车老板不能被邀请添加成为司机"),
    MOBILE_EXISTED("573", "该司机已被你邀请，请勿重复邀请"),
    WAIT_DRIVER_AGREE("574", "等待司机同意"),
    CAROWNER_WAIT("575", "司机已提交雇佣申请"),
    DRIVER_ADDED("576", "司机已在车老板名下"),
    VEHICLE_AUTH_NOT_APPROVE("577", "车辆未通过认证"),
    PERIODENDDATE_NOT_EXIST_OR_OVER("578", "道路运输证截止日期不存在或过期"),
    RELATEDPOOFPIC_NOT_EXIST("579", "车辆关联证明不存在"),
    TRAILERINFO_NOT_EXIST("580", "牵引车不存在挂车信息"),
    CANCLE_FAIL("581", "已被审核，取消认证失败"),
    IDENTITYTYPE_FAIL("582", "邀请该司机的用户身份不是车老板"),
    CARRIER_DRIVER_NULL("583", "未找到关联司机"),
    CARRIER_NOT_DRIVER("584", "车老板邀请的用户不是司机身份，请确认"),
    ;


    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    private String code;
    private String msg;

    CarrierUseErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
